package com.yuanchu.media.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-01-26 16:43
 */
@FeignClient(value = "yuanchu-goods", fallbackFactory = FeignGoodsServiceClientFallbackFactory.class)
public interface FeignGoodsClient {

    @PostMapping("/media/{mediaId}")
    boolean queryMedia(@RequestBody List<Long> fileIds);
}
